package cn.com.dhcc.turbo.entity.registry;

 
import java.io.Serializable;
import java.util.Date;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiNotDbColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

/**
 * ADAPTER_INFO
 * 适配器注册
 * @日期：2014-10-20  
 * @作者：古玉龙
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "turbo_adapter_info")
public class AdapterInfo extends ModuleFeatureBean implements Serializable { 
	private static final long serialVersionUID = 1L;


	@SiColumn(isId = true)
	private String id;// id
	@SiColumn(name = "NODE_CODE")
	private String nodeCode;// 所属节点编码
	@SiColumn(name = "ADAPTER_CODE")
	private String adapterCode;// 适配器编码
	@SiColumn(name = "ADAPTER_NAME")
	private String adapterName;// 适配器名称
	
	@SiColumn(name = "WSDL_URL")
	private String wsdlUrl;// wsdlURL
	@SiColumn(name = "ISLOCAL")
	private String islocal;//是否本地节点 0 否1 是

	@SiColumn(name = "adapter_type")
	private String adapterType;// 适配器类型　0全局　1局部
	
	@SiColumn(name = "org_code")
	private String orgCode;// 适配器所属行政区编码
	
	private String status;// 适配器状态 1 正常 2 异常 3 停用
	private Date mtime;// 最后修改时间
	private String remark;// 备注
	
	@SiColumn(name="AUTH_CODE")
	private String authCode;//授权码
	@SiNotDbColumn
	private String noDeName;
	
	public String getAdapterType() {
		return adapterType;
	}

	public void setAdapterType(String adapterType) {
		this.adapterType = adapterType;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getAuthCode() {
		return authCode;
	}

	public void setAuthCode(String authCode) {
		this.authCode = authCode;
	}


	public String getNoDeName() {
		return noDeName;
	}

	public void setNoDeName(String noDeName) {
		this.noDeName = noDeName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNodeCode() {
		return nodeCode;
	}

	public void setNodeCode(String nodeCode) {
		this.nodeCode = nodeCode;
	}

	public String getAdapterCode() {
		return adapterCode;
	}

	public void setAdapterCode(String adapterCode) {
		this.adapterCode = adapterCode;
	}

	public String getAdapterName() {
		return adapterName;
	}

	public void setAdapterName(String adapterName) {
		this.adapterName = adapterName;
	}

	
	public String getWsdlUrl() {
		return wsdlUrl;
	}

	public void setWsdlUrl(String wsdlUrl) {
		this.wsdlUrl = wsdlUrl;
	}

	public String getIslocal() {
		return islocal;
	}

	public void setIslocal(String islocal) {
		this.islocal = islocal;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getMtime() {
		return mtime;
	}

	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "AdapterInfo [id=" + id + ",  nodeCode=" + nodeCode + ", adapterCode=" + adapterCode + ", adapterName="
				+ adapterName + ",  wsdlUrl=" + wsdlUrl
				+ ", islocal=" + islocal + ", status=" + status + ", mtime=" + mtime + ", remark=" + remark + "]";
	}

}
